package ooday03;

public class Studenttest {
    public static void main(String[] args) {
        Student zs=new Student("张三",22,"天津市","JSD2302","001");
        zs.sayHi();
        zs.eat();
        zs.sleep();


        Teacher ls=new Teacher("李四",26,"北京市");
        ls.sayHi();
        ls.eat();
        ls.sleep();

        Docter ww=new Docter("王五",66,"上海市");
        ww.sayHi();
        ww.eat();
        ww.sleep();
    }
}
